<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<h1>用户列表</h1>
<form action="${pageContext.request.contextPath }/student/studentadd.html" method="get">
 <input type=submit name="add" id="add" value="添加" >
</form>
	


<c:forEach var="user" items="${queryStudentList }">
	<div>
		学生编号: ${user.id } ---
		学生姓名: ${user.name } ---
		学生年龄: ${user.age } ---
		学生性别: ${user.gender } ---
		学生电话: ${user.telephone } ---
		email: ${user.email } ---
		所属班级: ${user.classId } --- 
	</div>
</c:forEach>
</body>
</html>